﻿// using Microsoft.AspNetCore.Authorization;
//
// namespace Ly.EBussiness.Auth;
//
// public class CustomPermissionRequirement :IAuthorizationRequirement
// {
//     public string PermissionName { get; }
//
//     /// <summary>
//     /// 
//     /// </summary>
//     /// <param name="permissionName"></param>
//     public CustomPermissionRequirement(string permissionName)
//     {
//         PermissionName = permissionName;
//     }
// }